package com.project.bean;

import java.time.LocalDate;

public class LinkBean {
//    id
    private int id ;
//    姓名
    private String  name ;
//    生日
    private LocalDate  date ;
//    性别
    private String  sex ;
//    电话
    private String  phone;

     public LinkBean (){

     }

    public LinkBean(String name, LocalDate date, String sex, String phone) {
        this.name = name;
        this.date = date;
        this.sex = sex;
        this.phone = phone;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "LinkBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", date=" + date +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                "}\n";
    }
}
